Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return system exit code when running as module #729

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

mungojam
Copy link
Contributor

We've found that terraform compliance failures were not causing our builds to fail

We call terraform compliance using python -m terraform_compliance

I believe it works fine for the .exe mode since that calls cli directly and will handle the exit code from that automatically

@eerkunt
Copy link
Member

eerkunt commented Jan 25, 2024

Thanks for adding this.

@eerkunt eerkunt merged commit d7e7fa3 into terraform-compliance:master Jan 25, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants